package com.google.common.collect;

import java.util.concurrent.ConcurrentMap;
import static com.google.common.base.DeepEquivalence.DEEP_EQUIVALENCE;

/**
 * 
 * @author guyadong
 *
 */
public class MapBuilder {

	/**
	 * 创建支持Object[]为key的map
	 */
	public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
		return new MapMaker().keyEquivalence(DEEP_EQUIVALENCE).<K, V>makeMap();
	}
}
